package cn.kbyue.oauth2sso.rest;

import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author XL
 * @version 0.1
 * @date 2021/7/29 23:02
 */
@RestController
public class IndexController {

    @GetMapping("/")
    public ResponseEntity<String> index() {
        return ResponseEntity.ok("user index access success......");
    }

    @GetMapping("/message")
    public ResponseEntity<String> message() {
        return ResponseEntity.ok("order index send message......");
    }
}
